package dto

// 部门列表过滤表单条件参数结构体
type AdminDepartmentPageListFilterFormParam struct {
	Keywords string `json:"keywords"`
}

type AdminDepartmentPageListItemResponse struct {
	Id          uint64   `json:"id"`
	Pid         uint64   `json:"pid"`
	Type        uint8    `json:"type"`
	Name        string   `json:"name"`
	Code        string   `json:"code"`
	Intro       string   `json:"intro"`
	PostionIds  []uint64 `json:"postion_ids"`
	MemberCount uint64   `json:"member_count"`
}

type AdminDepartmentPageFormLoadResponse struct {
	Id    uint64 `json:"id"`
	Pid   uint64 `json:"pid"`
	Type  uint8  `json:"type"`
	Name  string `json:"name"`
	Code  string `json:"code"`
	Intro string `json:"intro"`
}

type AdminDepartmentPostionPageListItemResponse struct {
	DepartmentPostionId uint64 `json:"department_postion_id"`
	Type                uint8  `json:"type"`
	State               uint8  `json:"state"`
	PostionName         string `json:"postion_name"`
	PostionCode         string `json:"postion_code"`
	PostionIntro        string `json:"postion_intro"`
	PostionState        uint8  `json:"postion_state"`
}
